//
//  RankCell.m
//  Bracelet
//
//  Created by jing zhao on 2/16/15.
//  Copyright (c) 2015 jing zhao. All rights reserved.
//

#import "Mycity_RankCell.h"

@implementation Mycity_RankCell

-(void)setApiOneRank:(APIOneCityTotalRank*)oneRank
{
    self.rankNumber.text = oneRank.strCityRunRanking;
    //城市名字
    self.rankName.text = oneRank.strCityName;
    self.runMeter.text = [NSString stringWithFormat:@"%@ km",oneRank.strCityRunTotal_metre];
    self.ui_progressViewProportion.progress = [oneRank.strCityOkproportion floatValue]/100.0;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
